{% include "public/head.html" %}
{% include "public/left.html" %}
{% include "public/header.html" %}
        <!--页面主要内容-->
        <main class="lyear-layout-content">

            <div class="container-fluid">

                <div class="row">
                    <div class="col-lg-12">
                        <div class="card">
                            <div class="card-body">

                                <form action="/admin/client/add" method="post" class="row">
                                    <div class="form-group col-md-12">
                                        <label for="client_name">门店名称</label>
                                        <input type="text" class="form-control" id="client_name" name="client_name" value="" placeholder="请输入标题" />
                                    </div>
                                    <div class="form-group col-md-12">
                                        <label for="client_abbre">门店简称</label>
                                        <input type="text" class="form-control" id="client_abbre" name="client_abbre" value="" placeholder="关键词" />
                                    </div>
                                    <div class="form-group col-md-12">
                                        <label for="address">地址</label>
                                        <input type="text" class="form-control" id="address" name="address" value="" placeholder="关键词" />
                                    </div>
                                    <div class="form-group col-md-12">
                                        <label for="phone">用户名[电话]</label>
                                        <input class="form-control" type="text" id="phone" name="phone" value="" />
                                    </div>
                                    <div class="form-group col-md-12">
                                        <label for="password">密码</label>
                                        <input type="text" class="form-control" id="password" name="password" value="0" />
                                    </div>
                                    <div class="form-group col-md-12">
                                        <label for="client_statu">状态</label>
                                        <div class="clearfix">
                                            <label class="lyear-radio radio-inline radio-primary">
                                                <input type="radio" name="client_status" value="1"><span>正常</span>
                                            </label>
                                            <label class="lyear-radio radio-inline radio-primary">
                                                <input type="radio" name="client_status" value="0" checked><span>暂停</span>
                                            </label>
                                        </div>
                                    </div>
                                    <div class="form-group col-md-12">
                                        <button type="submit" class="btn btn-primary ajax-post" target-form="add-form" name="client_submit">确 定</button>
                                        <button type="button" class="btn btn-default" id="backs">返 回</button>
                                    </div>
                                </form>

                            </div>
                        </div>
                    </div>

                </div>

            </div>

        </main>
        <!--End 页面主要内容-->
    </div>
</div>
{% include "public/footer.html" %}
<script type="text/javascript">
    let backs = document.getElementById('backs');
    backs.addEventListener('click',function () {
        window.location.href = '/admin/client';
    });
</script>